#!/usr/bin/env python

"""
tf_test_001_matmul.py
Matrices multiplication test example.
"""

__version__     = "1.0.0"
__author__      = "David Qiu"
__email__       = "david@davidqiu.com"
__website__     = "www.davidqiu.com"
__copyright__   = "Copyright (C) 2017, David Qiu. All rights reserved."


import tensorflow as tf
import numpy as np


if __name__ == '__main__':
  # definition
  matrixA = tf.constant([[3., 3.]])
  matrixB = tf.constant([[2.],
                         [2.]])
  productAB = tf.matmul(matrixA, matrixB)

  # execution
  with tf.Session() as sess:
    res = sess.run(productAB)
    print(res)


